﻿using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Akso.Entities
{
    /// <summary>
    /// 收支账单，带审计和软删除。
    /// </summary>
    [Table("Finance_BillIncomeExpendTypes")] //对应数据库的表名，建议规则：模块名+实体名。
    public class IncomeExpendType: FullAuditedEntity<Guid>
    {
        public const int MaxNameLength = 50;
        public const int MaxRemarkLength = 200;

        [Required]//字段必填   
        [MaxLength(MaxNameLength)]
        public virtual string IETypeName { get; set; }
        public virtual int IETypeId { get; set; }
        [MaxLength(MaxRemarkLength)]
        public virtual string Remark { get; set; }
    }
}
